Skip to content

Add support for eclipse 4.13 #482

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 22 commits into from
Nov 7, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ private GrEclipseFormatterStep() {}
private static final String FORMATTER_CLASS = "com.diffplug.spotless.extra.eclipse.groovy.GrEclipseFormatterStepImpl";
private static final String FORMATTER_CLASS_OLD = "com.diffplug.gradle.spotless.groovy.eclipse.GrEclipseFormatterStepImpl";
private static final String MAVEN_GROUP_ARTIFACT = "com.diffplug.spotless:spotless-eclipse-groovy";
private static final String DEFAULT_VERSION = "4.12.0";
private static final String DEFAULT_VERSION = "4.13.0";
private static final String FORMATTER_METHOD = "format";

/** Creates a formatter step using the default version for the given settings file. */
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Spotless formatter based on Groovy-Eclipse version 3.5.0 (see https://github.com/groovy/groovy-eclipse/releases)
com.diffplug.spotless:spotless-eclipse-groovy:3.5.0
com.diffplug.spotless:spotless-eclipse-base:3.2.1
com.google.code.findbugs:annotations:3.0.0
com.google.code.findbugs:jsr305:3.0.0
org.eclipse.platform:org.eclipse.core.commands:3.9.500
org.eclipse.platform:org.eclipse.core.contenttype:3.7.400
org.eclipse.platform:org.eclipse.core.jobs:3.10.500
org.eclipse.platform:org.eclipse.core.resources:3.13.500
org.eclipse.platform:org.eclipse.core.runtime:3.16.0
org.eclipse.platform:org.eclipse.equinox.app:1.4.300
org.eclipse.platform:org.eclipse.equinox.common:3.10.500
org.eclipse.platform:org.eclipse.equinox.preferences:3.7.500
org.eclipse.platform:org.eclipse.equinox.registry:3.8.500
org.eclipse.platform:org.eclipse.jface.text:3.15.300
org.eclipse.platform:org.eclipse.jface:3.17.0
org.eclipse.platform:org.eclipse.osgi:3.15.0
org.eclipse.platform:org.eclipse.swt:3.112.0
org.eclipse.platform:org.eclipse.text:3.9.0
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
public class GrEclipseFormatterStepTest extends EclipseCommonTests {
@Override
protected String[] getSupportedVersions() {
return new String[]{"2.3.0", "4.6.3", "4.8.0", "4.8.1", "4.10.0", "4.12.0"};
return new String[]{"2.3.0", "4.6.3", "4.8.0", "4.8.1", "4.10.0", "4.12.0", "4.13.0"};
}

@Override
Expand Down